package com.PengGoBook.main.utils;

/**
 * Created with IntelliJ IDEA.
 * User: S7
 * Date: 13-5-28
 * Time: 上午1:33
 * To change this template use File | Settings | File Templates.
 */
public class Urls {

    public static final String BASIC_URL = "https://api.douban.com/v2/book/user/73147259/collections";
//	public static final String BASIC_URL1 = "http://api.eoe.name/client";

//    public static final String TOP_NEWS_URL = BASIC_URL
//            + "/news?k=lists&t=top";
//    public static final String TOP_BLOG_URL = BASIC_URL
//            + "/blog?k=lists&t=top";
//    public static final String TOP_WIKI_URL = BASIC_URL
//            + "/wiki?k=lists&t=top";
    /**
     * 博客请求地址
     */
    public static final String TOP_LIST = BASIC_URL + "/top";
    public static final String BLOGS_LIST = BASIC_URL + "/blog?k=lists";
    public static final String NEWS_LIST = BASIC_URL + "/news?k=lists";
    public static final String WIKI_LIST = BASIC_URL + "/wiki?k=lists";

    /**
     * searchURL
     */
    public static final String BASE_SEARCH_URL = BASIC_URL + "/search?";

    public static final String USER_LOGIN = BASIC_URL + "/key?uname=%s&pwd=%s";

    /**
     * 1 k 2 act 3 model 4 itemid
     */
    public static final String DETAILS_ActionBar = BASIC_URL
            + "/bar?k=%s&act=%s&model=%s&itemid=%s";

    public static final String userlike = "userlike";
    public static final String favorite = "favorite";
    public static final String add = "add";
    public static final String del = "del";
    public static final String like = "like";
    public static final String useless = "useless";
    public static final String news = "news";
    public static final String wiki = "wiki";
    public static final String blog = "blog";

    // 获取用户信息接口
    public static final String KEYBindURL = BASIC_URL + "/userinfo?key=%s";
}